﻿@* Ui层项目 - 业务模块文件 *@
@using Util.Generators.Helpers
@model Util.Generators.Contexts.EntityContext
@{
    var service = new GenerateService( Model );
    Model.Output.FileNameNoExtension = "routes.module";
    Model.Output.Extension = ".ts";
    Model.Output.RelativeRootPath = $"src/{service.GetUiProjectName()}/ClientApp/src/app/routes";
}
import { NgModule, Type } from '@@angular/core';
import { SharedModule } from '../shared';
import { DashboardComponent } from './dashboard/dashboard.component';
import { RouteRoutingModule } from './routes-routing.module';
import { @service.GetClientModuleClassName() } from "./@service.GetClientModuleFolderName()/@service.GetClientModuleFileName()";

const COMPONENTS: Array<Type<void>> = [
    DashboardComponent
];

@@NgModule({
    imports: [SharedModule, RouteRoutingModule,@service.GetClientModuleClassName()],
    declarations: COMPONENTS,
})
export class RoutesModule {
}
